package com.android.mmchat.common;

import java.util.Enumeration;
import java.util.Hashtable;

public class FormatParameters {

	public static String getParametersToString(Hashtable<String, String> table) {
		Enumeration<String> enu = table.keys();
		StringBuffer sb = new StringBuffer();
		String item = "";
		while (enu.hasMoreElements()) {
			item = enu.nextElement();
			sb.append(item + "=" + table.get(item) + "&");
		}
		return sb.toString();

	}
}
